<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>Dashboard Template for Bootstrap</title>
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/type.css" />
		<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
		<style>

		</style>
	
	</head>
	<body>
	    <header>
			<div class="col-md-12 col-xs-12">
				<div class="col-md-4 col-xs-3"></div>
				<div class="col-md-4 col-xs-6 text-center">
					<h2>我的订单</h2></div>
				<div class="col-md-4 col-xs-3"></div>
			</div>
			<div class="col-md-12 col-xs-12">
				<div class="col-md-1"></div>
				<div class="col-md-10 col-xs-12">
					<hr style="border: groove #ddd 1px;">
				</div>
				<div class="col-md-1"></div>
			</div>
		</header>
		<section>
		<neq name="order" value="">
			<div class="col-md-12 col-xs-12">
				<div class="col-md-2"></div>
				<div class="col-md-8 col-xs-12 ">
					<div class="panel panel-default">
						<div class="panel-heading">
							<span class="index_span2">订单编号：{$order[0]['OrderId']}   &emsp;</span>
							<span class="order_span1">未付款</span>
						</div>
						<form method="post">
						<foreach name="order" item="o">
						<div class="panel-body">
							<div class="col-md-3 col-xs-3">
								<img src="__PUBLIC__/uploads/img/{$o.PictureUrl}" alt="" class="img-responsive" />
							</div>
							<div class="col-md-6 col-xs-6">
							<input type="hidden" value="{$o.GoodId}" name="GoodId[]"/>
								<div class="order_span2">{$o.GoodName}</div><input type="hidden" value="{$o.GoodName}" name="GoodName[]"/>
								<div class="order_span3">{$o.Color}</div><input type="hidden" value="{$o.Color}" name="Color[]"/>
								<div class="order_span3">{$o.Version}</div><input type="hidden" value="{$o.Version}" name="Version[]"/>
							</div>
							<div class="col-md-3 col-xs-3">
								<div class="order_span4"><sup>￥</sup>{$o.Price}</div><br /><input type="hidden" value="{$o.Price}" name="Price[]"/>
								<div class="order_span5">x{$o.GoodCount}</div><input type="hidden" value="{$o.Count}" name="Count[]"/>
							</div>
						</div>
						<hr />
						</foreach>
						<div class="col-md-12 col-xs-12">
							<div class="col-md-6 col-xs-4"></div>
							<div class="col-md-3 col-xs-4">
								<button class="btn btn-primary" type="submit" onclick='return confirm("确定付款？")'>付款</button></botton>
							</div>
						</div>
						</form>
					</div>
				</div>
			</div>
			</neq>
			<eq name="order" value=""><center><h2>没有待付款的订单，快去采购吧~</h2></center></eq>
		</section>
	
	</body>
</html>
